package org.example.ftp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.ftp.entity.TestEnum;

import java.util.List;

@Mapper
public interface TestEnumMapper {
    int add(TestEnum testEnum);

    TestEnum query(int userId);

    int addjson(TestEnum testEnum);

    List<TestEnum> page(@Param("currentPage") int currentPage,@Param("pageSize") int pageSize);

}
